Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use mapValues instead of map in SchemaKStream.select #411

Merged
merged 1 commit into from
Oct 27, 2017

Conversation

dguy
Copy link
Contributor

@dguy dguy commented Oct 25, 2017

As we are not changing the key during select, there is no point in using map. Using mapValues will avoid a re-partitioning event if the resulting stream is joined.

Copy link
Contributor

@hjafarpour hjafarpour left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@dguy dguy merged commit 676f946 into confluentinc:4.0.x Oct 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants